package com.jrx.anytxn.investor.mapper.base;

import com.jrx.anytxn.investor.entity.TlInvestorLoanChange;

public interface TlInvestorLoanChangeMapper {
    /**
     * 根据主键删除 
     * @param id Long
     * @return int
     */
    int deleteByPrimaryKey(Long id);

    /**
     * 保存
     * @param record TlInvestorLoanChange
     * @return int
     */
    int insert(TlInvestorLoanChange record);

    /**
     * 根据字段是否为空保存 
     * @param record TlInvestorLoanChange
     * @return int
     */
    int insertSelective(TlInvestorLoanChange record);

    /**
     * 根据主键查询 
     * @param id Long
     * @return TlInvestorLoanChange
     */
    TlInvestorLoanChange selectByPrimaryKey(Long id);

    /**
     * 根据字段是否为空更新 
     * @param record TlInvestorLoanChange
     * @return int
     */
    int updateByPrimaryKeySelective(TlInvestorLoanChange record);

    /**
     * 根据主键更新所有字段 
     * @param record TlInvestorLoanChange
     * @return int
     */
    int updateByPrimaryKey(TlInvestorLoanChange record);
}